cv2 Error The function is not implemented. Rebuild the library with Windows GTK+ 2.x or Carbon support
Hello,
I am working with OpenCV to follow along with the Image and Vision Analysis tutorial. However, when I attempt to run the program that detects faces and eyes, I get the error message:
The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvShowImage
I used pip to install OpenCV, am using Python 2.7, and am using a MacOSX. Does anyone have any suggestions on how to fix this error? Any answers are appreciated! Thank you.
You must be logged in to post. Please login or register an account.
Hmm, I am really not sure, have you tried googling around for a solution? I haven't heard of this error myself.
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.
I have, and the main suggestion was to use brew, and I tried that, but to no avail. What specific pip command did you use to install OpenCV?
-Ajax1234 8 years ago
You must be logged in to post. Please login or register an account.
pip install cv2
Super basic, you dont need anything else til we get to doing the haar cascades.
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.
Haar Cascades is exactly what I am working on. Is there anything in particular I need for modules for that? Thank you!
-Ajax1234 8 years ago
You must be logged in to post. Please login or register an account.
Hmmm, then yeah you need the full open cv.
Follow this tutorial: https://pythonprogramming.net/haar-cascade-object-detection-python-opencv-tutorial/
...but I am assuming you did follow that tutorial. Let me know there.
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.
Thank you so much for your help thus far! Since I need build-essential as mentioned in this tutorial, I do not have apt-get as I am on a mac. What do you suggest?
-Ajax1234 8 years ago
You must be logged in to post. Please login or register an account.
I don't use mac, but I am pretty sure you can just replace apt-get with brew. Have you attempted that?
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.
I think that is the best way to go. Thank you!
-Ajax1234 8 years ago
You must be logged in to post. Please login or register an account.